package com.ls.hnks.mapper;

import com.ls.hnks.model.Schedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ls.hnks.model.vo.ScheduleCountVo;

import java.util.List;

/**
* @author 15375
* @description 针对表【tb_schedule(日程)】的数据库操作Mapper
* @createDate 2023-01-25 21:58:11
* @Entity com.ls.hnks.model.Schedule
*/
public interface ScheduleMapper extends BaseMapper<Schedule> {

    List<Schedule> getAllByUserAndDate(String userId, String date);

    List<Schedule> getAllByCustomerAndDate(String customerId, String date);

    List<ScheduleCountVo> countSchedule(List<Integer> ids);
}




